package com.twu.biblioteca.streams;

import java.io.IOException;
import java.io.OutputStream;

public class AppOutputStream {
    private static OutputStream outputStream;

    public static void initAppOutputStream(OutputStream outputStream) {
        AppOutputStream.outputStream = outputStream;
    }

    public static void writeLine(String content) throws IOException {
        outputStream.write(content.getBytes());
    }
}
